home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / Include / SLGrDef.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.6 KB  |  74 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLGrDef.h
  4. ///    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLGRDEF_H
  11. #define SLGRDEF_H
  12.  
  13. #ifndef FWSTDDEF_H
  14. #include "FWStdDef.h"
  15. #endif
  16.  
  17. // ----- OpenDoc Includes -----
  18.  
  19. #if !defined(_QDFIX_) && defined(FW_BUILD_MAC)
  20. #include <QDFixM.h>
  21. #endif
  22.  
  23. // ----- Platform Includes -----
  24.  
  25. #if !defined(__TYPES__) && defined(FW_BUILD_MAC)
  26. #include <Types.h>
  27. #endif
  28.  
  29. #if !defined(__LOWMEM__) && defined(FW_BUILD_MAC)
  30. #include <LowMem.h>
  31. #endif
  32.  
  33. #if !defined(__QUICKDRAW__) && defined(FW_BUILD_MAC)
  34. #include <Quickdraw.h>
  35. #endif
  36.  
  37. #if defined(FW_BUILD_WIN) && !defined(_INC_WINDOWS)
  38. #include <windows.h>
  39. #endif
  40.  
  41. #if defined(FW_BUILD_MAC) && !defined(__QDOFFSCREEN__)
  42. #include <QDOffScreen.h>
  43. #endif
  44.  
  45. #ifdef FW_BUILD_MAC
  46. typedef    PicHandle                FW_PlatformPict;
  47. typedef    GWorldPtr                FW_PlatformBitmap;
  48. typedef    Handle                    FW_PlatformIcon;        // Icon suite
  49. #endif
  50.  
  51. #ifdef FW_BUILD_WIN
  52. typedef    HENHMETAFILE            FW_PlatformPict;
  53. typedef    HBITMAP                    FW_PlatformBitmap;
  54. typedef    HICON                    FW_PlatformIcon;
  55.  
  56. typedef BITMAPINFO*                FW_WinDIB;
  57. typedef char*                     FW_WinPixelBufferPtr;
  58.  
  59. #endif
  60.  
  61. //========================================================================================
  62. // Types
  63. //========================================================================================
  64.  
  65. #ifdef FW_BUILD_MAC
  66. typedef FontInfo        FW_PlatformFontMetrics;
  67. #endif
  68. #ifdef FW_BUILD_WIN
  69. typedef TEXTMETRIC        FW_PlatformFontMetrics;
  70. #endif
  71.  
  72. #endif // SLGRDEF_H
  73.  
  74.